﻿using Domain.Entity.Basic_information;
using Domain.Entity.System_Carrier_ment;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.IRepository.System_Carrier_ment
{
    public interface ICarrier_mentRepository
    {
        int Count(string time, string Cr_cp_name);  //查询承运商数量
        List<Carrier_ment> GetCarrier_Ments(int currentPage, int PageSize);    //查询承运商,司机,车辆的相关数据

        List<Carrier_ment> GetCarrier_Ments_time(string time, string Cr_cp_name, int currentPage, int PageSize);  //根据创建日期和公司名称查询承运商

        List<Carrier_ment> Carrier_Ments_();   //查询承运商全部数据

        int Delete(int Cr_id);  //根据id删除

        int Add(Carrier_ment carrier_Ment);  //添加

        int Update(Carrier_ment carrier_ment);  //修改

        List<Carrier_ment> GetCarrier_Ments_Update(int Cr_id);   //根据id查询
    }
}
